package com.zhangfb95.crosschain.sdk.infra.model.api.response.server.rpcchainaccount;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * @author zhangfubing
 * @since 2023/12/22
 */
@Data
@Accessors(chain = true)
public class RpcChainAccountListApiRes {

    private List<Item> list;

    @Data
    @Accessors(chain = true)
    public static class Item {

        /**
         * 链路径
         */
        private String chainPath;

        /**
         * 链标识
         */
        private String chainIdentity;

        /**
         * 是否默认账户
         */
        private Boolean isDefault;

        /**
         * 算法类型
         */
        private String algType;

        /**
         * 私钥
         */
        private String privateKey;

        /**
         * 公钥
         */
        private String publicKey;

        /**
         * 属性键值
         */
        private Map<String, String> properties;
    }
}
